<form method="post" action="<?= base_url() ?>index.php/installation/set_database">
	<div class="well">
		<a class="btn btn-primary pull-left" href="<?= base_url() ?>index.php" >zurück</a>
		<input type="submit" class="btn btn-primary pull-right" value="weiter" >
	</div>
	<h1>Datenbank</h1>
	<p>Bitte geben Sie eine MySQL Datenbank an.</p>
	<table>
		<tr>
			<td>Server:<br><input type="text" name="server" value="<?= set_value('server', $server) ?>"></td>
		</tr>
		<tr>
			<td>Benutzername:<br><input type="text" name="username" value="<?= set_value('username', $username) ?>"></td>
		</tr>
		<tr>
			<td>Passwort:<br><input type="password" name="password" value="<?= set_value('password', $password) ?>"></td>
		</tr>
		<tr>
			<td>Datenbank:<br><input type="text" name="database" value="<?= set_value('database', $database) ?>"></td>
		</tr>
	</table>
	<button class="btn btn-primary" onclick="sendAjaxRequest('check_db', {server: $('input[name=server]').val(), username: $('input[name=username]').val(), password: $('input[name=password]').val(), database: $('input[name=database]').val()});return false;">prüfen</button>
</form>
